Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure SnapshotListener on Account is actually added #46

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

pauljohanneskraft
Copy link
Contributor

Make sure SnapshotListener on Account is actually added

♻️ Current situation & Problem

I noticed that there actually never is a snapshot listener on Account. I found out that it is only added in the function FirestoreAccountStorage.snapshotListener(for:with:), which previously only created a snapshot listener, if there already is one - so never. Changing the operator will solve the problem and makes sure that we add the snapshot listener when needed.

⚙️ Release Notes

  • Make sure to add snapshot listener on Account.

📚 Documentation

Please ensure that you properly document any additions in conformance to Spezi Documentation Guide.
You can use this section to describe your solution, but we encourage contributors to document your reasoning and changes using in-line documentation.

✅ Testing

Please ensure that the PR meets the testing requirements set by CodeCov and that new functionality is appropriately tested.
This section describes important information about the tests and why some elements might not be testable.

📝 Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

Copy link
Member

@Supereg Supereg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upsie, thanks for fixing that 🚀

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.63%. Comparing base (d0cb58f) to head (42e15c9).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
+ Coverage   66.76%   68.63%   +1.88%     
==========================================
  Files          19       19              
  Lines        1176     1176              
==========================================
+ Hits          785      807      +22     
+ Misses        391      369      -22     

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d0cb58f...42e15c9. Read the comment docs.

@pauljohanneskraft pauljohanneskraft merged commit 5df8f8c into main Sep 12, 2024
9 checks passed
@pauljohanneskraft pauljohanneskraft deleted the fetch-account-details branch September 12, 2024 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants